﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clandestine.Entities
{
    public class StaticSpriteEntity : Entity
    {
        private Sprite sprite = new Sprite();

        public override Sprite Sprite
        {
            get { return sprite; }
        }

        public override void Dispose()
        {
            sprite.Dispose();
        }

        public string TextureName
        {
            get { return sprite.GetTexture().Filename; }
            set { sprite.SetTexture(Texture.GetTexture(value)); }
        }
    }
}
